#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)
#include<iostream>
using namespace std;
class person
{
public:
	void showinfo()
	{
		cout << _name << " - " << _sex << " - " << _age << endl;
	}

public:
	const char* _name;
	const char* _sex;
	int _age;
};
int main()
{
	person p1;
	p1._age = 20;
	p1._name = "Chenyibin";
	p1._sex = "man";
	p1.showinfo();
	person p2;
	p2._age = 21;
	p2._name = "Huangze";
	p2._sex = "unkon";
	p2.showinfo();
	cout << sizeof(p1) << endl;
	cout << sizeof(p2) << endl;

	return 0;
}
